package com.qf.dao.impl;

import com.qf.dao.UserDao;
import org.springframework.stereotype.Repository;

import javax.annotation.Priority;

/**
 * @author lwc
 * @date 2021/10/26 20:34
 * @Description
 */
@Repository("userDaoImpl1")
@Priority(value = 1)
public class UserDaoImpl1 implements UserDao {
    public UserDaoImpl1(){
        System.out.println("userDaoImpl1的无参数构造方法");
    }
    @Override
    public void save(){
        System.out.println("调用了userDaoImpl1这个bean的save方法");
    }
}
